package com.css.cloudlearn.productorconsul.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/productor")
@RestController
public class Controller {

    @GetMapping("/ping")
    public String ping() {
        return "productor-consul pong";
    }

}
